package org.example.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p> 测试控制器 </p>
 *
 * @author Chris
 * @since 2022/10/25 10:54
 */

@RestController
@RequestMapping(value = "/", produces = "text/plain;charset=utf-8")
public class TestController {

    @RequestMapping("/test")
    public String test() {
        System.out.println("/test 请求响应：成功");
        return "/test 请求响应：成功";
    }

}